﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.Act
{
    public class ReturnPreSheetAct
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid SheetId { get; set; }

        /// <summary>
        /// 营业员ID
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 退货明细列表
        /// </summary>
        public List<ReturnSheetItemAct> Items { get; set; }

        /// <summary>
        /// 退货款处理1原路返回，2转到会员余额，3现金
        /// </summary>
        public int AccountType { get; set; }

        /// <summary>
        /// 退货原因
        /// </summary>
        public Guid? ReasonType { get; set; }

        /// <summary>
        /// 退货具体原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal TotalAmount { get; set; }

    }


    public class ReturnSheetItemAct
    {
        /// <summary>
        /// 订单明细ID
        /// </summary>
        public Guid SheetItemId { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int Qty { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int ItemType { get; set; }

        /// <summary>
        /// 前端不用传
        /// </summary>
        public decimal CalPrice { get; set; }

    }
}
